<?php
/**
 * Introduction: 秀图评论表  activity_show_comment
 * @author: 杨陈鹏
 * @date: 2016/4/05 16:04
 * @email: yangchenpeng@cdlinglu.com
 */
namespace Common\Model;


use Think\Model;

class ActivityShowCommentModel extends Model
{
    //定义数据库连接信息
    protected $connection;
    //定义模型字段
    protected $fileds = [
        'id',
        'uid',
        'content',
        'activity_show_id',
        'activity_id',
        'create_time',
        'likes',
    ];
    //定义表名
    protected $tableName = 'activity_show_comment';

    /**
     * 初始化
     */
    public function _initialize()
    {

        $this->connection = C('Databaese');

    }
}